package com.tem.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cms_media")
@ApiModel(value="CmsMedia对象", description="")
public class CmsMedia implements Serializable {

    private static final long serialVersionUID=35361658679789L;

    @ApiModelProperty(value = "媒体库")
    @TableId(value = "cms_media_id", type = IdType.AUTO)
    private Long cmsMediaId;

    @ApiModelProperty(value = "部门 店铺")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "分类")
    @TableField("cms_type_id")
    private Long cmsTypeId;

    @ApiModelProperty(value = "路径")
    @TableField("media_url")
    private String mediaUrl;

    @ApiModelProperty(value = "描述")
    @TableField("media_description")
    private String mediaDescription;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
